package org.schhx.mapper;

import org.schhx.pojo.User;

import java.util.List;

/**
 * @author shanchao
 * @date 2021/1/30
 */
public interface UserMapper {

    List<User> findAll();

    User findByCondition(User condition);

    User findById(int id);

    int save(User user);

    int updateById(User user);

    int deleteById(int id);
}
